﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Subscriber
{
    [Serializable]
    public class AssignmentModel
    {
        public AssignmentModel()
        { }
        private string _id;
        private string _processname;
        private string _tskuser;
        private string _tskassignuser;
        private DateTime? _bgdate;
        private DateTime? _eddate;
        private int? _assigncount;
        private int? _isenable;
        /// <summary>
        /// 唯一号
        /// </summary>
        public string ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 流程名
        /// </summary>
        public string ProcessName
        {
            set { _processname = value; }
            get { return _processname; }
        }
        /// <summary>
        /// 任务授权人
        /// </summary>
        public string TskUser
        {
            set { _tskuser = value; }
            get { return _tskuser; }
        }
        /// <summary>
        /// 任务代理人
        /// </summary>
        public string TskAssignUser
        {
            set { _tskassignuser = value; }
            get { return _tskassignuser; }
        }
        /// <summary>
        /// 代理开始时间
        /// </summary>
        public DateTime? BgDate
        {
            set { _bgdate = value; }
            get { return _bgdate; }
        }
        /// <summary>
        /// 代理结束时间
        /// </summary>
        public DateTime? EdDate
        {
            set { _eddate = value; }
            get { return _eddate; }
        }
        /// <summary>
        /// 代理次数
        /// </summary>
        public int? AssignCount
        {
            set { _assigncount = value; }
            get { return _assigncount; }
        }
        /// <summary>
        /// 代理是否有效
        /// 1.有效
        /// 0.失效
        /// </summary>
        public int? IsEnable
        {
            set { _isenable = value; }
            get { return _isenable; }
        }
    }
}
